import request from '@/utils/request';
// import { TableListParams, TableListItem } from './data.d';

interface memberListParams {
  phone: string;
  status: number;
  pageIndex: number;
  pageSize: number;
}

export async function getMemberData(params: memberListParams) {
  return request('/service/partTimerWb/group/getMemberList', {
    method: 'POST',
    data: params,
  });
}

export async function boundMember(params) {
  return request('/service/partTimerWb/group/bind', {
    method: 'POST',
    data: params,
  });
}

export async function unboundMember(params) {
  return request('/service/partTimerWb/group/unBind', {
    method: 'POST',
    data: params,
  });
}
